net/fm: Make the return value logic consistent with convention
authorHou Zhiqiang <[email protected]>
Mon, 26 Oct 2015 11:47:45 +0000 (19:47 +0800)
committerYork Sun <[email protected]>
Thu, 29 Oct 2015 17:33:59 +0000 (10:33 -0700)
commit0f2cb9f5a0743f19a4c1d0f7e6506537dd6ef78d
treeaef785211867fe99e967c4ad4279491b993b8fc5
parent9fc29db116d147adbee0ad07b0e72a657f961305
net/fm: Make the return value logic consistent with convention

In convention, the '0' is a normal return value indicating there isn't
an error. While some functions of FMan IM driver treat '0' as an error
return value.

Signed-off-by: Hou Zhiqiang <[email protected]>
Signed-off-by: Gong Qianyu <[email protected]>
Reviewed-by: York Sun <[email protected]>
drivers/net/fm/eth.c